﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KongMing.ORM.SqlSugar.Models
{
    public class Book:BaseDBEntity
    {
        public int Sn { get; set; }

        /// <summary>
        /// 书名
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 作者
        /// </summary>
        public string Author { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 进价
        /// </summary>
        public decimal InPrice { get; set; }

        /// <summary>
        /// 平常售价
        /// </summary>
        public decimal NormalPrice { get; set; }

        /// <summary>
        /// 折扣率
        /// </summary>
        public decimal DiscountRatio { get; set; } = 1.0m;

        /// <summary>
        /// 售价
        /// </summary>
        public decimal SellPrice { get; set; }
    }
}
